[INFO] fetching crate townhopper 0.1.1...
[INFO] checking townhopper-0.1.1 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate townhopper 0.1.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate townhopper 0.1.1 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate townhopper 0.1.1
[INFO] finished tweaking crates.io crate townhopper 0.1.1
[INFO] tweaked toml for crates.io crate townhopper 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] acae8cacfb8a0654b4a506630209f1e54733e37e0b517bfee10da8aa8cc14629
[INFO] running `Command { std: "docker" "start" "-a" "acae8cacfb8a0654b4a506630209f1e54733e37e0b517bfee10da8aa8cc14629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "acae8cacfb8a0654b4a506630209f1e54733e37e0b517bfee10da8aa8cc14629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acae8cacfb8a0654b4a506630209f1e54733e37e0b517bfee10da8aa8cc14629", kill_on_drop: false }`
[INFO] [stdout] acae8cacfb8a0654b4a506630209f1e54733e37e0b517bfee10da8aa8cc14629
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bb399c354aa6fbb308ca0ebe2aa782757b3476104b075c3d501323a6d8aa673
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4bb399c354aa6fbb308ca0ebe2aa782757b3476104b075c3d501323a6d8aa673", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking unidecode v0.3.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libsqlite3-sys v0.15.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rusqlite v0.19.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]    Compiling chrono-tz v0.5.3
[INFO] [stderr]     Checking townhopper v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout] 25 +     let mut rows = stmt.query(&[] as &[&dyn ToSql])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout] 46 +         stmt.execute(&[&a.agency_id as &dyn ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout]    |                                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 -         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout] 57 +         stmt.execute(&[&c.service_id as &dyn ToSql,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |                                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 69 -         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout] 69 +         stmt.execute(&[&d.service_id as &dyn ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 -         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout] 79 +         stmt.execute(&[&r.route_id as &dyn ToSql, &r.agency_id,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 90 -         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout] 90 +         stmt.execute(&[&s.stop_id as &dyn ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 101 -         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout] 101 +         stmt.execute(&[&t.trip_id as &dyn ToSql,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |                                        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 -         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout] 113 +         stmt.execute(&[&t.route_id as &dyn ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 -     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 41 +     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 |     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 -     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 45 +     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 49 -     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 49 +     c.execute("BEGIN;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 -     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 53 +     c.execute("END;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 -     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout] 25 +     let mut rows = stmt.query(&[] as &[&dyn ToSql])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 -         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout] 46 +         stmt.execute(&[&a.agency_id as &dyn ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout]    |                                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 -         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout] 57 +         stmt.execute(&[&c.service_id as &dyn ToSql,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |                                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 69 -         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout] 69 +         stmt.execute(&[&d.service_id as &dyn ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 -         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout] 79 +         stmt.execute(&[&r.route_id as &dyn ToSql, &r.agency_id,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 90 -         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout] 90 +         stmt.execute(&[&s.stop_id as &dyn ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout]     |                                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 101 -         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout] 101 +         stmt.execute(&[&t.trip_id as &dyn ToSql,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |                                        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 -         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout] 113 +         stmt.execute(&[&t.route_id as &dyn ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:157:58
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let actual_count: i32 = stmt.query_map(&[] as &[&ToSql], |row| row.get(0))
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 157 -         let actual_count: i32 = stmt.query_map(&[] as &[&ToSql], |row| row.get(0))
[INFO] [stdout] 157 +         let actual_count: i32 = stmt.query_map(&[] as &[&dyn ToSql], |row| row.get(0))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 -     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 41 +     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 |     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 -     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 45 +     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 49 -     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 49 +     c.execute("BEGIN;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 -     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout] 53 +     c.execute("END;", &[] as &[&dyn ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/query/route.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(&routes.get("1".into()).expect("Route not found").short_name, "30");
[INFO] [stdout]    |                            ^^^ cannot infer type of the type parameter `Q` declared on the associated function `get`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `std::string::String: Borrow<_>` found in the following crates: `alloc`, `core`:
[INFO] [stdout]            - impl Borrow<str> for std::string::String;
[INFO] [stdout]            - impl<T> Borrow<T> for T
[INFO] [stdout]              where T: ?Sized;
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(&routes.get::<Q>("1".into()).expect("Route not found").short_name, "30");
[INFO] [stdout]    |                               +++++
[INFO] [stdout] help: consider specifying the type argument in the function call
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(&routes.get::<Q>("1".into()).expect("Route not found").short_name, "30");
[INFO] [stdout]    |                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/query/route.rs:33:36
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(&routes.get("1".into()).expect("Route not found").short_name, "30");
[INFO] [stdout]    |                                    ^^^^ cannot infer type for reference `&_`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `&_: ~const From<&str>` found in the following crates: `bstr`, `core`:
[INFO] [stdout]            - impl<'a> From<&'a str> for &'a bstr::bstr::BStr;
[INFO] [stdout]            - impl<T> From<T> for T;
[INFO] [stdout]    = note: required because of the requirements on the impl of `Into<&_>` for `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/result.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _: Box<Error> = Box::new(ThprError::Generic("Some error".into()));
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 -         let _: Box<Error> = Box::new(ThprError::Generic("Some error".into()));
[INFO] [stdout] 92 +         let _: Box<dyn Error> = Box::new(ThprError::Generic("Some error".into()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `townhopper` due to 3 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4bb399c354aa6fbb308ca0ebe2aa782757b3476104b075c3d501323a6d8aa673", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bb399c354aa6fbb308ca0ebe2aa782757b3476104b075c3d501323a6d8aa673", kill_on_drop: false }`
[INFO] [stdout] 4bb399c354aa6fbb308ca0ebe2aa782757b3476104b075c3d501323a6d8aa673
